package com.yingxin.yxerp.module.organization.vo.req;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 用户
 * </p>
 *
 * @author fanchao
 * @since 2021-05-13
 */

@Data
@EqualsAndHashCode(callSuper = false)
public class UserRolesUpdateVo implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "用户id", required = true)
    @Length(max = 35)
    @NotBlank
    private String userId;

    @ApiModelProperty(value = "角色ids")
    private List<String> roleIds;


}